//package com.zmn.plat.dubbo.interfaces.channel;
//
//import java.util.List;
//
//import javax.validation.constraints.NotNull;
//import javax.validation.constraints.Positive;
//import com.zmn.common.dto2.ResponseDTO;
//import com.zmn.plat.common.dto.channel.ChannelProductMapDRO;
//import com.zmn.plat.common.dto.product.ServProductDRO;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import io.swagger.annotations.ApiParam;
//
///**
// * 描述: 渠道产品映射dubbo接口
// *
// * @author linfeng
// * @since: 2020/10/29 14:11
// */
//@Api(value = "渠道产品映射服务", tags = {"渠道产品映射"})
//public interface ChannelProductMapListRemoteService {
//
//    /**
//     * 描述：根据渠道ID和产品ID查询渠道产品映射
//     * @param channelId 渠道ID
//     * @param productId 产品ID
//     * @return ResponseDTO<ChannelProductMapDRO>
//     * @author: linfeng
//     * @since 2020/10/29 14:08
//     */
//    @ApiOperation(value = "查询渠道产品映射", response = ResponseDTO.class, notes = "根据渠道ID和产品ID查询渠道产品映射", tags = "渠道产品映射")
//    ResponseDTO<List<ChannelProductMapDRO>> listByChannelIdAndProductId(
//            @NotNull(message = "channelId不能为空") @Positive(message = "channelId必须为大于0的正整数") @ApiParam(value = "渠道ID", required = true) Integer channelId,
//            @NotNull(message = "productId不能为空") @Positive(message = "productId必须为大于0的正整数") @ApiParam(value = "产品id", required = true) Integer productId);
//
//    /**
//     * 描述：根据渠道ID和渠道方产品父ID和渠道方产品子ID查询产品信息
//     * @param channelId             渠道ID
//     * @param channeProductParentId 渠道方产品父ID
//     * @param channeProductSubId    渠道方产品子ID
//     * @return ResponseDTO<ServProductDRO>
//     * @author: linfeng
//     * @since 2020/10/29 15:34
//     */
//    @ApiOperation(value = "查询渠道产品映射的产品信息", response = ResponseDTO.class, notes = "根据渠道ID和渠道方产品父ID和渠道方产品子ID查询产品信息", tags = "渠道产品映射的产品信息")
//    ResponseDTO<List<ServProductDRO>> listByChannelIdAndProductParentIdAndProductSubId(
//            @NotNull(message = "channelId不能为空") @Positive(message = "channelId必须为大于0的正整数") @ApiParam(value = "渠道ID", required = true) Integer channelId,
//            @ApiParam(value = "渠道方产品父id", required = false) String channeProductParentId,
//            @ApiParam(value = "渠道方产品子id", required = false) String channeProductSubId);
//
//}
